package com.cpi.cornpp.languaje.view;

import java.io.Serializable;

import com.cpi.cornpp.user.view.UserView;

/**
 * Language View
 * @author Edgar Joao
 *
 */
public class LanguageView implements Serializable{
	/** Serial id */
	private static final long serialVersionUID = 1714461555324475505L;
	/** Language Id*/
	private String id;
	/** Language Description*/
	private String description;
	/** Default Language */
	private boolean appDefault;
	/**
	 * Is default language
	 * @return true if language is default, false otherwise
	 */
	public boolean isAppDefault() {
		return appDefault;
	}
	/**
	 * Sets if language is default
	 * @param appDefault
	 */
	public void setAppDefault(boolean appDefault) {
		this.appDefault = appDefault;
	}
	/** User View*/
	private UserView userView;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public UserView getUserView() {
		return userView;
	}
	public void setUserView(UserView userView) {
		this.userView = userView;
	}
		
}
